#ifndef DIALOGFORMAT_H
#define DIALOGFORMAT_H

#include <QtGui/QDialog>
#include <QMap>
#include "cformat.h"

namespace Ui {
    class DialogFormat;
}

class DialogFormat : public QDialog {
    Q_OBJECT
public:
    DialogFormat(QMap<CFormat, QString> &map, QWidget *parent = 0);
    ~DialogFormat();

    QString GetPressSheet();

public slots:
    void UpdateCut();
    void UpdatePrSh();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::DialogFormat *m_ui;
    QMap<CFormat, QString> *map;
};

#endif // DIALOGFORMAT_H
